package com.bestcem.xm.om.controller.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 相关描述信息
 *
 * @author xuan.yang <xuan.yang@idiaoyan.com>
 * @version v1.0
 * @date 2022/2/24 15:25
 */
@Data
public class BookingParam {
    private Integer status;
    private Integer type;
    @JsonProperty("type_value")
    private String typeValue;
    @JsonProperty("industry_id")
    private String industryId;
    private Integer source;
    @JsonProperty("time_type")
    private Integer timeType;
    @JsonProperty("start_time_value")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private LocalDateTime startTimeValue;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @JsonProperty("end_time_value")
    private LocalDateTime endTimeValue;
    private Integer page;
    @JsonProperty("rowsPerPage")
    private Integer size;
    private Integer offset;
}
